-- GENERATED SPELL FOR [Kinelory] --


function spell0_2713(pUnit, Event) --@Kinelory\'s Bear Form,Self--
pUnit:FullCastSpellOnTarget(4948,pUnit)
pUnit:RegisterEvent('Sorts_2713', 15000, 1)
end

function spell1_2713(pUnit, Event) --@Rejuvenation,n/a--
pUnit:FullCastSpellOnTarget(3627,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2713', 12000, 1)
end

function Sorts_2713(pUnit, Event)
local choix_sorts_2713 = math.random(0, 1)
if choix_sorts_2713 == 0 then
pUnit:RegisterEvent('spell0_2713', 1, 1)
end
if choix_sorts_2713 == 1 then
pUnit:RegisterEvent('spell1_2713', 1, 1)
end
end

function mob2713_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2713', math.random(1500, 3000), 1)
end

function mob2713_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2713_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2713_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2713, 1, 'mob2713_Action')
RegisterUnitEvent(2713, 2, 'mob2713_Leave')
RegisterUnitEvent(2713, 3, 'mob2713_Kill')
RegisterUnitEvent(2713, 4, 'mob2713_Die')
